package io.cp.connector.api.constant;

/**
 * @author CP-GLOBAL-0002
 *	定义 系统枚举
 */
public class SystemEnum {
	
	/**
	 *	定义系统返回的状态码
	 */
	public enum ResultCode{
		SUCCESS(200,"Success"),
	    SYS_ERROR(500,"System error");
		
		ResultCode( Integer code , String msg ){
			this.code = code;
			this.msg = msg;
		}
		
	    private Integer code;
	    private String msg;
	    
		public Integer getCode() {
			return code;
		}
		public void setCode(Integer code) {
			this.code = code;
		}
		public String getMsg() {
			return msg;
		}
		public void setMsg(String msg) {
			this.msg = msg;
		}
	}
	
}
